<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@page import="org.jbpm.api.ProcessEngine"%>
<%@page import="com.susem.mw.util.ThesisUtils"%>
<%@page import="org.jbpm.api.TaskService"%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Write Thesis Review</title>
</head>
<body>
<%ProcessEngine engine = ThesisUtils.PROCESS_ENGINE;
TaskService ts = engine.getTaskService();
ts.takeTask(request.getParameter("taskId"), (String) session.getAttribute("userid"));%>
<form action="SubmitThesisReviewServlet" method="post">
<center>
<table cellpadding="1" cellspacing="2" border="0">
	<tr>
		<th bgcolor="#CCCCFF" colspan="2"><font size="5">MASTER
		THESIS REVIEW</font> <br />
		</th>
	</tr>
	<tr bgcolor="#c8d8f8">
		<td align="left" colspan="2"><b>Relevance to the topic</b> <br />
		<textarea name="relevance" rows="4" cols="60"></textarea></td>
	</tr>
	<tr bgcolor="#c8d8f8">
		<td align="left" colspan="2"><b>Brief description of student's work</b> <br />
		<textarea name="briefDescription" rows="3" cols="60"></textarea></td>
	</tr>
	<tr bgcolor="#c8d8f8">
		<td align="left" colspan="2"><b>Layout and style</b> <br />
		<textarea name="layout" rows="9" cols="60"></textarea></td>
	</tr>
	<tr bgcolor="#c8d8f8">
		<td align="left" colspan="2"><b>Contributions</b> <br />
		<textarea name="contributions" rows="2" cols="60"></textarea></td>
	</tr>
	<tr bgcolor="#c8d8f8">
		<td align="left" colspan="2"><b>Recommendations</b> <br />
		<textarea name="recommendations" rows="2" cols="60"></textarea></td>
	</tr>
	<tr bgcolor="#c8d8f8">
		<td align="left" colspan="2"><b>Other comments</b> <br />
		<textarea name="comments" rows="2" cols="60"></textarea></td>
	</tr>
	<tr bgcolor="#c8d8f8">
		<td align="left" colspan="2"><b>Conclusion</b> <br />
		<textarea name="conclusion" rows="2" cols="60"></textarea></td>
	</tr>
	<tr bgcolor="#c8d8f8">
		<td align="left" colspan="2"><b>Assesment</b> <br />
		<input type="text" name="mark" value="" size="5"
			maxlength="1" /></td>
	</tr>
	<tr bgcolor="#c8d8f8">
		<td align="center" colspan="2">
			<input type="submit" name="action" value="Submit"/>
			<input type="submit" name="action" value="Cancel"/>
			<input type="reset" value="Reset"/>
			<input type="hidden" name="taskId" value="<%out.print(request.getParameter("taskId"));%>" />
			<input type="hidden" name="professor" value="<%out.print((String) session.getAttribute("userid"));%>" />
		</td>
	</tr>
</table>
</center>
</form>
</body>
</html>